import {defineStore} from 'pinia'
import {ref} from "vue";

export const useCounterStore = defineStore('counter', () => {
    // 修改名称
    const userInfo = ref({})
    // 分数
    const Score = ref({})
    const gradeUserInfo = ref({
        id: 482235006186557440,
        nickname: "",
        gender: "",
        birthday: ""
    })
    // 保存头像
    const headimage = ref('')
    // 小红点
    const red = ref('')
    // 咨询id
    const consultid=ref('')
    const title = ref('')
    return {userInfo, title, headimage, gradeUserInfo, Score, red}
})